package com.tanklab.signature.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="用户签名对象", description="用户签名信息表")
@TableName("user_signature")
public class UserSignature {

    @ApiModelProperty(value = "签名ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户openid")
    @TableField("user_openid")
    private String userOpenid;

    @ApiModelProperty(value = "签名图片URL")
    @TableField("signature_url")
    private String signatureUrl;

    @ApiModelProperty(value = "签名图片哈希值")
    @TableField("signature_hash")
    private String signatureHash;

    @ApiModelProperty(value = "签名图片交易ID")
    @TableField("signature_tx_id")
    private String signatureTxId;

    @ApiModelProperty(value = "是否为当前活跃签名")
    @TableField("is_active")
    private Boolean isActive;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_time")
    private String createdTime;
}